package com.ruoyi.biz.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

@Data
@JacksonXmlRootElement(localName = "book")  //root根是book
@JsonIgnoreProperties(ignoreUnknown = true)
public class Book {
//    @JacksonXmlElementWrapper(useWrapping = false)    //remote是一个没有list包围的list
//    private List<Remote> remote;
    @JsonProperty("poject")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<Project> poject;

}